package com.github.pig.admin.mapper.zhgl.house;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.github.pig.admin.model.zhgl.house.UnitHouse;
import com.github.pig.admin.model.zhgl.house.UnitHouseBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 房屋基本信息 Mapper 接口
 * </p>
 *
 * @author lxm
 * @since 2018-06-13
 */
public interface UnitHouseMapper extends BaseMapper<UnitHouse> {

    List<UnitHouseBean> queryUnitHouseGrid(UnitHouseBean unithouse);

    UnitHouseBean getUnitHouseBean(@Param("buildingName") String buildingName, @Param("unitName") String unitName, @Param("houseName") String houseName, @Param("communityId") String communityId);

    void updateManagerFreeDate(String houseId);
}
